#!/usr/bin/env python
#coding=utf-8
#from os import posix_fadvise
import sys
from time import time
#from genpy import message
#from manipulator_setup import handle_mode_set, manipulator_node
import rospy
from birl_manipulator.srv import *
from birl_manipulator.msg import *

if __name__=="__main__":
    rospy.wait_for_service('manipulator_position_service')
    mode_client = rospy.ServiceProxy('manipulator_position_service',TargetPose)
    pos =[50,0.0,30.0,0,0.0]
    flag = mode_client.call(pos)
    print(flag)
